package com.powernode.bank.pojo;

// 银行账户类
public class Account {

    private String acton;
    private Double balance;

    @Override
    public String toString() {
        return "Account{" +
                "acton='" + acton + '\'' +
                ", balance=" + balance +
                '}';
    }

    public String getActon() {
        return acton;
    }

    public void setActon(String acton) {
        this.acton = acton;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Account(String acton, Double balance) {
        this.acton = acton;
        this.balance = balance;
    }

    public Account() {
    }
}
